<if condition="$smarty.request.is_ajax neq 1">
<include file="inc:header" />	
<div class="page" id='{$data.act}'>
<?php
	$this->_var['back_url'] = wap_url("index","uc_center#index");
	$this->_var['back_page'] = "#uc_center";
	$this->_var['back_epage'] = $_REQUEST['epage']=="" ? "#uc_center" : "#".$_REQUEST['epage'];
?>
<include file="inc:title" />
<div class="content infinite-scroll pull-to-refresh-content" now_page="1"  data-distance="{$data.rs_count}"  all_page="{$data.page.page_total}" ajaxurl="{:U('uccollect/index')}">
<!-- 这里是页面内容区 -->
<!--我关注的标列表-->
<div class="blank055"></div>
<ul class="detail_list invest">
	</if>
	<!-- 默认的下拉刷新层 -->
    <div class="pull-to-refresh-layer" all_page="{$data.page.page_total}" >
        <div class="preloader"></div>
        <div class="pull-to-refresh-arrow"></div>
    </div>
		<foreach name="data.item" item="deal">
		<li>
			        <if condition="$deal.deal_status eq 1 and $deal.remain_time gt 0"><div class="h clearfix b_3b95d3"></if>
					<if condition="$deal.deal_status eq 1 and $deal.remain_time lte 0"><div class="h clearfix b_b0b0b0"></if>
					<if condition="$deal.deal_status eq 2"><div class="h clearfix b_ff6f6f"></if>
					<if condition="$deal.deal_status eq 3"><div class="h clearfix b_b0b0b0"></if>
					<if condition="$deal.deal_status eq 4"><div class="h clearfix b_ff8800"></if>
					<if condition="$deal.deal_status eq 5"><div class="h clearfix b_a4ce1c"></if>
				<span class="Status">
					<if condition="$deal.deal_status eq 1 and $deal.remain_time gt 0">进行中</if>
					<if condition="$deal.deal_status eq 1 and $deal.remain_time lte 0">已过期</if>
					<if condition="$deal.deal_status eq 2">满标</if>
					<if condition="$deal.deal_status eq 3">流标</if>
					<if condition="$deal.deal_status eq 4">还款中</if>
					<if condition="$deal.deal_status eq 5">已还款</if>
				</span>
				<div class="bor clearfix">
					<span class="name f_l">{$deal.name}</span>
			        <a class="delete" rel="{$deal.id}">取消关注</a>
				</div>
			</div>
			
			<div class="bor_1">
				<div class="middle clearfix">
					<table>
						<tr>
							<td>
								<span class="name">金额</span>
								<span>{$deal.borrow_amount_format}</span>
							</td>
							<td>
								<span class="name">年利率</span>
								<span class="c_ff8800">{$deal.rate|number_format='f=2'}%</span>
							</td>
							<td>
								<span class="name" >期限</span>
								<span>{$deal.repay_time}<if condition="$deal.repay_time_type eq 0">天<else/>个月</if></span>
							</td>
							<td>				            								
								<div  class="progress-radial_parent ">
										<div class="progress-radial  progress-{$deal.progress_point|round='f=0'}
									<if condition="$deal.is_wait eq 1"> c999999
						            	<else/>
										<if condition="$deal.deal_status eq 0">  c999999 </if>
											<if condition="$deal.deal_status eq 1 and $deal.remain_time gt 0">  c56b1ea </if>
												<if condition="$deal.deal_status eq 1 and $deal.remain_time lte 0">  c999999 </if>
													<if condition="$deal.deal_status eq 2">  ea544a </if>
														<if condition="$deal.deal_status eq 3">  c999999  </if>
															<if condition="$deal.deal_status eq 4">  c66d191  </if>
															<if condition="$deal.deal_status eq 5">  c999999  </if>
										</if>
										"><b></b></div>
									</div>
								</div>
								</td>
						</tr>
					</table>
				</div>
				<div class="bottom clearfix">
					<span class="time">发布日期{$deal.start_time|to_date="Y-m-d"}</span>
					<if condition="$deal.has_transfer gt 0 && $deal.t_user_id <> $data.user_id">
					<div class="f_r">
						<a href="#" class="but_b bor_b0b0b0 b_b0b0b0">已转让</a>
					</div>
					<else/>
					<div class="f_r">
						<a href="#" onclick="RouterURL('{:U('dealmobile/index',array('id'=>$deal.id,'epage'=>$data.act))}','#Dealmobile',2);" class="but_c c_aad421 bor_aad421">标的详情</a>
					<if condition="$deal.deal_status gte 4">
						<a href="#" onclick="RouterURL('{:U('ucinvestrefdetail/index',array(''id'=>$deal.id,'load_id'=>$deal.load_id,'epage'=>$data.act))}','#Ucinvestrefdetail',2);" class="but_c bor_3b95d3 c_3b95d3">回款详情</a>
					</if>
					</div>
					</if>
					
					
			   </div>
			</div>
		</li>
		</foreach>
	<if condition="$smarty.request.is_ajax neq 1">
		</ul>
		<!-- 加载提示符 -->
		<div class="infinite-scroll-preloader">
		  <div class="preloader">
		  </div>
		</div>
 <include file="inc:footer" />
    </if>






